package com.woniu.core.exception.order;


import com.woniu.core.exception.WoniuxyException;

public class OrderException extends WoniuxyException {
    private static final long serialVersionUID = 1L;

    public OrderException(OrderExceptionCode orderExceptionCode) {
        super(orderExceptionCode.getMessage(), orderExceptionCode.getCode());
    }

    public OrderException(String message, Integer code){

        super(message,code);
    }
}
